<!DOCTYPE html>
<html lang="zh-CN">
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<title>注册</title>
		<meta name="Keywords" content="">
		<meta name="Description" content="">
		{include file="book@web_public/head_static" /}
	</head>
	<body>
		{include file="book@web_public/head" /}
		<div class="content">
			<div class="container">
				<div id="register-page">
					<form action="{:url('book/member.Register/index')}" method="post">
						<input type="hidden" name="__token__" value="{$Request.token}" />
						<div class="title01 mb20"><p>会员注册</p></div>
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i class="fa fa-user"></i></span>
								<input type="text" class="form-control" name="username" placeholder="用户名">
							</div>
						</div>
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i class="fa fa-lock"></i></span>
								<input type="password" class="form-control" name="password" placeholder="密码">
							</div>
						</div>
						<div class="form-group">
							<div class="input-group">
								<span class="input-group-addon"><i class="fa fa-lock"></i></span>
								<input type="password" class="form-control" name="confirm_password" placeholder="确认密码">
							</div>
						</div>
						<div class="row">
							<div class="col-md-5">
								<div class="form-group">
									<div class="input-group">
										<span class="input-group-addon"><i class="fa fa-check"></i></span>
										<input type="text" class="form-control" name="captcha_code" placeholder="验证码">
									</div>
								</div>
							</div>
							<div class="col-md-7">
								<img src="{:captcha_src()}" class="captcha_src get_captcha" alt="captcha" style="width: 160px;height: 40px;cursor: pointer;" />　看不清？<a href="javascript:;" class="get_captcha" style="color: #bf2c24;">换一个</a>
							</div>
						</div>
						<div class="rp-submit row">
							<div class="col-md-5">
								<button type="submit" class="btn btn-lg btn-danger">注册</button>
							</div>
							<div class="col-md-7" style="line-height: 40px;"><a href="{:url('book/member.Login/index')}">返回登录页</a></div>
						</div>
					</form>
				</div>
			</div>
		</div>
		{include file="book@web_public/foot" /}
		<script>
			$(function(){
				$(".get_captcha").click(function(){
					$('.captcha_src').attr('src','/captcha.html');
				});
			});
		</script>
	</body>
</html>